package com.jiaertangshi.jiaer.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
 * 用户表
 * @author 98157
 *
 */
public class Tuser implements Serializable{
    private Integer tuserid; //用户Id

    private String tuserName;//用户名

    private String tuserPwd; //用户密码

    private BigDecimal userBalance;//用户余额

    private BigDecimal userBonus;//用户奖金

    private Integer shareCount;//分享二维码数量

    private String shareCountUrl;//分享二维码图片地址

    private String tuserNick;//用户昵称

    private String headImg;//用户头像

    private String tuserWxid;//用户微信id

    private String tuserPhoneno;//用户手机号码

    private String tuserSex;//用户性别

    private String tuserRealname;//用户真实姓名

    private String tuserTelephone;//固定电话

    private String email;//电子邮箱

    private String qqno;//qq号码

    private String shortno;//内线

    private Byte dataStatus;//数据状态(1有效，0无效)

    private Date createdAt;//创建时间

    private Date updatedAt;//更新时间

    private String openid;//openid

    private String sessionkey; //sessionkey

    private String loginstate;//登录状态

	private   List<Role>   roles;

    public List<Role> getRoles() {
		return roles;
	}

	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}

	
    public Integer getTuserid() {
        return tuserid;
    }

    public void setTuserid(Integer tuserid) {
        this.tuserid = tuserid;
    }

    public String getTuserName() {
        return tuserName;
    }

    public void setTuserName(String tuserName) {
        this.tuserName = tuserName == null ? null : tuserName.trim();
    }

    public String getTuserPwd() {
        return tuserPwd;
    }

    public void setTuserPwd(String tuserPwd) {
        this.tuserPwd = tuserPwd == null ? null : tuserPwd.trim();
    }

    public BigDecimal getUserBalance() {
        return userBalance;
    }

    public void setUserBalance(BigDecimal userBalance) {
        this.userBalance = userBalance;
    }

    public BigDecimal getUserBonus() {
        return userBonus;
    }

    public void setUserBonus(BigDecimal userBonus) {
        this.userBonus = userBonus;
    }

    public Integer getShareCount() {
        return shareCount;
    }

    public void setShareCount(Integer shareCount) {
        this.shareCount = shareCount;
    }

    public String getShareCountUrl() {
        return shareCountUrl;
    }

    public void setShareCountUrl(String shareCountUrl) {
        this.shareCountUrl = shareCountUrl == null ? null : shareCountUrl.trim();
    }

    public String getTuserNick() {
        return tuserNick;
    }

    public void setTuserNick(String tuserNick) {
        this.tuserNick = tuserNick == null ? null : tuserNick.trim();
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg == null ? null : headImg.trim();
    }

    public String getTuserWxid() {
        return tuserWxid;
    }

    public void setTuserWxid(String tuserWxid) {
        this.tuserWxid = tuserWxid == null ? null : tuserWxid.trim();
    }

    public String getTuserPhoneno() {
        return tuserPhoneno;
    }

    public void setTuserPhoneno(String tuserPhoneno) {
        this.tuserPhoneno = tuserPhoneno == null ? null : tuserPhoneno.trim();
    }

    public String getTuserSex() {
        return tuserSex;
    }

    public void setTuserSex(String tuserSex) {
        this.tuserSex = tuserSex == null ? null : tuserSex.trim();
    }

    public String getTuserRealname() {
        return tuserRealname;
    }

    public void setTuserRealname(String tuserRealname) {
        this.tuserRealname = tuserRealname == null ? null : tuserRealname.trim();
    }

    public String getTuserTelephone() {
        return tuserTelephone;
    }

    public void setTuserTelephone(String tuserTelephone) {
        this.tuserTelephone = tuserTelephone == null ? null : tuserTelephone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getQqno() {
        return qqno;
    }

    public void setQqno(String qqno) {
        this.qqno = qqno == null ? null : qqno.trim();
    }

    public String getShortno() {
        return shortno;
    }

    public void setShortno(String shortno) {
        this.shortno = shortno == null ? null : shortno.trim();
    }

    public Byte getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(Byte dataStatus) {
        this.dataStatus = dataStatus;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getSessionkey() {
        return sessionkey;
    }

    public void setSessionkey(String sessionkey) {
        this.sessionkey = sessionkey == null ? null : sessionkey.trim();
    }

    public String getLoginstate() {
        return loginstate;
    }

    public void setLoginstate(String loginstate) {
        this.loginstate = loginstate == null ? null : loginstate.trim();
    }
}